package com.yuyou.fn.educational.vo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by lzh on 2019/4/24.
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class ReportConfigSaveOrUpdateVo {

    /**  */

    /**  */
    /** 剔除的某个报表的resourceId */
    @ApiModelProperty("校区续读(1),营运班主任续读(2), 营运咨询师科数(3),满班率(4),初三校区续读(5),初三班主任续读(6),班主任推广数据(7),薪酬咨询师科数(8),薪酬班主任续读(9),薪酬教师续读(10)")
    @NotNull
    private Long resourceId;

    private List<PeriodConfig> periodConfigs;


    public static class PeriodConfig{

        @NotNull
        private Long periodId;

        @NotNull
        private ReportConfigDetailVo config;

        @NotNull
        @ApiModelProperty("1 双向剔除，2单向剔除")
        private Integer type;


        public Long getPeriodId() {
            return periodId;
        }

        public void setPeriodId(Long periodId) {
            this.periodId = periodId;
        }

        public ReportConfigDetailVo getConfig() {
            return config;
        }

        public void setConfig(ReportConfigDetailVo config) {
            this.config = config;
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }
    }



    public Long getResourceId() {
        return resourceId;
    }

    public void setResourceId(Long resourceId) {
        this.resourceId = resourceId;
    }

    public List<PeriodConfig> getPeriodConfigs() {
        return periodConfigs;
    }

    public void setPeriodConfigs(List<PeriodConfig> periodConfigs) {
        this.periodConfigs = periodConfigs;
    }
}
